package st.business.tepth.business.goodsorder.entity;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

import st.business.tepth.business.bean.MaterialHadApplyBean;
import st.business.tepth.business.goodsorder.GoodsOrderAdapter;

/**
 * @author zhangyu
 * @date 2019/2/23
 */
public class Level0 extends AbstractExpandableItem<Level1> implements MultiItemEntity {
    private final MaterialHadApplyBean mGoodsOrderBean;

    public Level0(MaterialHadApplyBean goodsOrderBean) {
        mGoodsOrderBean = goodsOrderBean;
    }

    public MaterialHadApplyBean getGoodsOrderBean() {
        return mGoodsOrderBean;
    }

    @Override
    public int getLevel() {
        return 0;
    }

    @Override
    public int getItemType() {
        return GoodsOrderAdapter.TYPE_LEVEL_0;
    }
}
